package com.sun.pojo.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * @author SunRui
 * @description 前端传回数据格式
 * @date 2024/10/17 8:27
 */
public class UsersDto implements Serializable {
    private static final long serialVersionUID = 8283426638067333147L;
    //    ID、姓名、性别、邮箱、状态
    private Integer id;// id
    private String name;// 用户名
    private Integer gender;// 性别
    private Integer status;// 账号状态
    private String email;// 邮箱

    @Override
    public String toString() {
        return "UsersDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", status=" + status +
                ", email='" + email + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
